#!/usr/bin/env bash
#!/bin/sh
for i in {0..100}; do
echo ">>>>>>>>>>>>>>>>>>>>>>>"
    s=$[$(date +%s%N)/1000000]
    curl  -X POST -H 'content-type: application/json' -d @newjson.json http://127.0.0.1:1903/ws/flushws;
    echo
    e=$[$(date +%s%N)/1000000]
    echo $e
    echo $s
    echo $(($e-$s))

echo "------------------------"
done